const _import = require('../../utils/view-import/' + process.env.NODE_ENV);
export default [
  {
    path: '/focus-manage',
    component: _import('focusManage/index'),
    children: [
      {
        path: '/',
        redirect: 'home'
      },
      {
        path: 'home',
        component: _import('focusManage/home')
      },
      {
        path: 'person-filter',
        component: _import('focusManage/filter'),
        meta: {
          keepAlive: true
        }
      },
      {
        path: 'filter-group/:id',
        component: _import('focusManage/filterGroup')
      },
      {
        path: 'person-detail/:mode/:id',
        component: _import('focusManage/personDetail')
      },
      {
        path: 'person-manage',
        component: _import('focusManage/manage')
      },
      {
        path: 'person-history',
        component: _import('focusManage/history')
      }
    ]
  }
];
